package com.jhs.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jhs.boot.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 节点流量实体对象
 *
 * @author zxy
 * @since 2025-08-11 19:21
 */
@Data
@TableName("sys_nodes_traffic")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysNodesTraffic extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 人员编码
     */
    private String userCode;
    /**
     * 节点id
     */
    private Long nodeId;
    /**
     * 节点的上行流量值
     */
    private Double upVal;
    /**
     * 节点的下行行流量值
     */
    private Double downVal;
    /**
     * 节点的总流量值
     */
    private Double totalVal;
    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    private Integer isDeleted;

    /**
     * 内存
     */
    private Double mem;
    /**
     * cpu
     */
    private Double cpu;
    /**
     * 温度
     */
    private Double tmp;
    /**
     * 空闲内存
     */
    private Double freeMemory;
    /**
     * 总内存
     */
    private Double totalMemory;
}
